package com.aliyun.messagemgt;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.circuitbreaker.EnableCircuitBreaker;
import org.springframework.context.annotation.EnableAspectJAutoProxy;
import org.springframework.scheduling.annotation.EnableAsync;
import org.springframework.scheduling.annotation.EnableScheduling;
import org.springframework.web.servlet.config.annotation.EnableWebMvc;

@SpringBootApplication(scanBasePackages = {"com.aliyun.messagemgt"})
@EnableAsync
@EnableWebMvc
@EnableScheduling
@EnableCircuitBreaker
@EnableAspectJAutoProxy(proxyTargetClass = true)
@MapperScan(basePackages = {"com.aliyun.messagemgt.repository.mappers"})
public class TestApplication {
    public static void main(String[] args) {
        SpringApplication.run(TestApplication.class, args);
    }
}